//
//  SISSTenancyContractModel.m
//  SISSAPP
//
//  Created by 袁应荣 on 2018/1/2.
//  Copyright © 2018年 优房网. All rights reserved.
//

#import "SISSTenancyContractModel.h"

@implementation SISSTenancyContractModel

// 返回一个 Dict，将 Model 属性名对映射到 JSON 的 Key。
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{
             @"ID": @"id"
             };
}

- (void)setImage:(NSArray *)image {
    NSMutableArray *tempArr = [NSMutableArray arrayWithCapacity:image.count];
    for (NSInteger i = 0; i < image.count; i++) {
        [tempArr addObject:[NSString stringWithFormat:@"%@%@",BASE_IMAGE_URL,image[i]]];
    }
    _image = tempArr.copy;
}

@end
